home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib4
/
v_06_08
/
v6n8047a.txt
< prev
next >
Wrap
Text File
|
1995-11-01
|
540b
|
24 lines
/* hr_init.c - Enable the Apple II high resolution display mode
* by writing to the addresses of the appropriate soft switches.
* The value written is of no consequence. Returns void.
*
* Environment: Apple II, Aztec c65 V1.05B
* Programmer: Don Strayer
* Date: 15-Jun-88
*/
#include <hr_apple2.h,d2>
hr_init()
{ char *swa; /* pointer to soft switch address */
swa = HR_TXTOFF; /* disable text mode */
*swa = '\0';
swa = HR_ON; /* enable hi res graphics */
*swa = '\0';
return();
}